home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 018a / pdxwp122.zip / PDX2WP.DOC < prev    next >
Text File  |  1991-12-05  |  41KB  |  1,052 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                                         PDX2WP
  19.  
  20.                      A Paradox to WordPefect Translation Utility
  21.  
  22.  
  23.                                 Shareware Version 1.22
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.                        Copyright (c) 1990, 1991 S.L.S. Systems
  47.  
  48.                                  All Rights Reserved.
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                                   TABLE OF CONTENTS
  61.  
  62.  
  63.           License and Warranty Information  . . . . . . . . . . . . . .   1
  64.  
  65.           What Is PDX2WP? . . . . . . . . . . . . . . . . . . . . . . .   2
  66.  
  67.           Installing PDX2WP . . . . . . . . . . . . . . . . . . . . . .   3
  68.  
  69.           How to Use the PDX2WP Utility . . . . . . . . . . . . . . . .   4
  70.               Running the PDX2WP Utility From the DOS Command Line  . .   4
  71.               Running the PDX2WP Utility From a Paradox PAL Script  . .   5
  72.               Running the PDX2WP Utility From Interactive Paradox . . .   7
  73.               Using PDX2WP with Sidekick 2.0  . . . . . . . . . . . . .   8
  74.  
  75.           How to Use the WP2PDX Utility . . . . . . . . . . . . . . . .   9
  76.               Running the WP2PDX Utility From the DOS Command Line  . .   9
  77.  
  78.           Limitations of PDX2WP . . . . . . . . . . . . . . . . . . . .  11
  79.  
  80.           Suggestions and Hints . . . . . . . . . . . . . . . . . . . .  12
  81.  
  82.           Final Comments  . . . . . . . . . . . . . . . . . . . . . . .  13
  83.  
  84.           Invoice/Registration Form . . . . . . . . . . . . . . . . . .  15
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.                                                                                         
  111.             PDX2WP                              Page i
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.      License and Warranty Information
  123.  
  124.           PDX2WP is not in the public domain. This is the limited shareware
  125.           version  of the full commercial product. It is fully protected by
  126.           copyright law.
  127.  
  128.           You are granted without charge a license which permits (a) use of
  129.           the   program for a reasonable period for evaluation and testing;
  130.           (b)  making copies  for  distribution to  others without  charge,
  131.           provided  the program    and the  accompanying documentation  and
  132.           other files  are distributed together and  without  modification;
  133.           (c)  posting   the  program,   together  with   the  accompanying
  134.           documentation  and  other  files,  on  electronic  bulletin board
  135.           systems.
  136.  
  137.           How  long is a reasonable period?   The idea of shareware is that
  138.           you should  be able to try  a program before deciding  to buy it.
  139.           Once you have tried PDX2WP and found that it is useful to you you
  140.           should begin to realize its benefits. A period of two weeks after
  141.           first  use  should  be  sufficient  to  determine  the  program's
  142.           usefulness. Any time after the two weeks is unreasonable.
  143.  
  144.           Use after  the reasonable evaluation and  testing period requires
  145.           payment  of a license  fee.   For a  single copy  (plus necessary
  146.           archival copies), to be used on only one computer at  a time, the
  147.           fee  is $30.00. For your convenience, an invoice form is included
  148.           at the end of this documentation. For large quantities, discounts
  149.           and site licenses are available. Write for information.
  150.  
  151.           PDX2WP  is licensed,  and  the documentation  and other  included
  152.           files  are provided "AS IS,"  without any warranty  as to perfor-
  153.           mance,  accuracy, or  freedom from  error, or  as to  any results
  154.           generated  through  use  of  such  material,  including,  without
  155.           limitation, any implied warranties of merchantability or  fitness
  156.           for a particular purpose.
  157.  
  158.           Sidekick is a registered trademark of Borland International
  159.           Paradox is a trademark of Borland International
  160.           WordPerfect is a registered trademark of WordPerfect Corporation
  161.  
  162.                                     S.L.S. Systems
  163.                                    13 Shirley Ave.
  164.                             Kingston, Massachusetts 02364
  165.                                      617-585-3620
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.                                                                                         
  174.             PDX2WP                              Page 1
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.      What Is PDX2WP?
  186.  
  187.           PDX2WP  is actually a pair of utilities, PDX2WP and WP2PDX, along
  188.           with sample  Paradox scripts,  which will perform  translation of
  189.           Paradox   tables  into   WordPerfect  documents   or  WordPerfect
  190.           secondary merge documents into Paradox tables.   PDX2WP will also
  191.           work with  Address Book files created by  Borland's Sidekick 2.0,
  192.           which are stored  in Paradox  tables.  The  documents created  by
  193.           PDX2WP are meant for  use with WordPerfect version 5.0  or later,
  194.           while the documents  converted by  WP2PDX must  already exist  as
  195.           WordPerfect version 5.0 or later secondary merge documents.
  196.  
  197.           It  is important to note  that neither PDX2WP  nor WP2PDX require
  198.           the  presence  of either  Paradox or  WordPerfect.   All  that is
  199.           required to run PDX2WP is an existing Paradox table which will be
  200.           translated, while WP2PDX  only requires  an existing  WordPerfect
  201.           secondary merge document.   It  must also be  noted that  neither
  202.           PDX2WP nor WP2PDX affect  or alter the original Paradox  table or
  203.           WordPerfect document in any manner.
  204.  
  205.           The WordPerfect document which is created by PDX2WP may be any of
  206.           four formats: 
  207.  
  208.               --  A WordPerfect  table, with  rows and columns,  similar in
  209.                   appearance to a spreadsheet. In this format, each Paradox
  210.                   record becomes  a row in the WordPerfect table, with each
  211.                   column  representing a  field of  the record  (up to  the
  212.                   WordPerfect limit of 32 columns).   The maximum number of
  213.                   rows  in  a WordPerfect  table  is  32,765.   WordPerfect
  214.                   tables may be  used only  with versions 5.1  or later  of
  215.                   WordPerfect.
  216.  
  217.               --  WordPerfect parallel  columns, where  blocks of  text are
  218.                   separated  into columns  which are  printed side-by-side.
  219.                   With PDX2WP each field  of the Paradox record is  entered
  220.                   into a column, with  as many columns as there  are fields
  221.                   in the Paradox table  (up to the WordPerfect limit  of 24
  222.                   columns).
  223.  
  224.               --  WordPerfect secondary merge file with WordPerfect Version
  225.                   5.0  merge codes  (^R and  ^E), where  a secondary  merge
  226.                   record is created for each  record in the Paradox  table.
  227.                   A  merge field is created  for each field  in the Paradox
  228.                   record. 
  229.  
  230.               --  WordPerfect secondary merge file with WordPerfect Version
  231.                   5.1 merge codes ({END FIELD} and {END RECORD})  and Field
  232.                   Names, where a secondary merge record is created for each
  233.  
  234.  
  235.  
  236.                                                                                         
  237.             PDX2WP                              Page 2
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.                   record  in the Paradox table.   A merge  field is created
  249.                   for each field in the Paradox record. 
  250.  
  251.           The  WordPerfect document  to be  converted by  WP2PDX must  be a
  252.           secondary merge  document, created by WordPerfect  version 5.0 or
  253.           later.   It must be  a document  set up with  individual records,
  254.           separated by  WordPerfect "end of record" merge  codes (either ^E
  255.           or  {END RECORD}).  Each record  must be broken into fields, each
  256.           separated  by WordPerfect "end of field" codes (either ^R or {END
  257.           FIELD}).
  258.  
  259.           This  version  of PDX2WP  and  WP2PDX  are command-line  oriented
  260.           programs.   This  means that  there are  no menus,  windows, data
  261.           entry  forms,  or  other user  interface.    All  options to  the
  262.           programs  are specified as  parameters to  the programs  when run
  263.           from the DOS command line.
  264.  
  265.  
  266.      Installing PDX2WP
  267.  
  268.           As  mentioned earlier, PDX2WP is actually two utilities.  Each of
  269.           these  utilities  is a  self-contained  executable program  file,
  270.           PDX2WP.EXE and  WP2PDX.EXE.  Simply insert  the distribution disk
  271.           into your floppy disk drive and copy these  two programs from the
  272.           distribution  disk to a directory  which is included  in your DOS
  273.           path.   For example, if  you have a  directory named \UTILITY  in
  274.           which you keep all utilities, copy the two program files into the
  275.           \UTILITY directory using the DOS "copy" command, as follows:
  276.  
  277.               copy a:*.exe c:\utility
  278.  
  279.           Included  with  the two  executable  programs  are the  following
  280.           files:
  281.  
  282.               PDX2WP.DOC      This documentation file.
  283.               PDX2WP.SC       A Paradox script which can be used to execute
  284.                               PDX2WP from within interactive Paradox.
  285.               INIT.SC         A Paradox  startup script which,  when placed
  286.                               in  the  Paradox  startup   directory  (i.e.,
  287.                               \PARADOX3) will assign  the PDX2WP.SC  script
  288.                               to  the Shift-F5  key.   This file  should be
  289.                               modified  to direct Paradox  to the directory
  290.                               to which PDX2WP.SC was copied.
  291.               CONTACTS.DB     A sample Paradox table  for use as an example
  292.                               for PDX2WP.
  293.               MAILLIST.DOC                             A sample WordPerfect
  294.                                                        secondary      merge
  295.                                                        document for  use as
  296.  
  297.  
  298.  
  299.                                                                                         
  300.             PDX2WP                              Page 3
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.                                                        an    example    for
  312.                                                        WP2PDX.
  313.  
  314.           Copy the above  files to appropriate directories, and both PDX2WP
  315.           and WP2PDX will be ready to run, from either the DOS command line
  316.           or from within Paradox.
  317.  
  318.  
  319.      How to Use the PDX2WP Utility
  320.  
  321.           PDX2WP may be run from either the DOS command line or from within
  322.           a  Paradox PAL  script.    By creating  a  short  PAL script  and
  323.           attaching  the script to a  key combination in  Paradox using the
  324.           SETKEY  command, the  program may  also be  run from  interactive
  325.           Paradox.  (Although WordPerfect provides the capability  to run a
  326.           DOS command, there is  not enough memory available to  run PDX2WP
  327.           while WordPerfect is running.)
  328.  
  329.  
  330.           Running the PDX2WP Utility From the DOS Command Line
  331.  
  332.               When  running  PDX2WP from  the  DOS command  line,  you must
  333.               specify  the name  of the  WordPerfect document  you wish  to
  334.               create,  the name of the Paradox table you wish to translate,
  335.               and a "switch" specifying  which type of WordPerfect document
  336.               you wish to create.
  337.  
  338.               The syntax for PDX2WP is:
  339.  
  340.                   PDX2WP document-name table-name /type
  341.  
  342.               "Document-name" is  the name of the  WordPerfect document you
  343.               wish to create.   You may include a  drive specifier, a  full
  344.               path name, and  a file name.  The file  name follows standard
  345.               DOS  naming conventions: a name  of up to  8 characters, fol-
  346.               lowed by  an optional  period  and an  extension of  up to  3
  347.               characters.    The  following  are  all  valid  names  for  a
  348.               WordPerfect document:
  349.  
  350.                   MY-FILE2
  351.                   PDX-TABL2.DOC
  352.                   B:NAMES
  353.                   C:\WP\DOCUMENT\MAILLIST.WP
  354.  
  355.               "Table-name" is the name  of the Paradox table which  will be
  356.               translated.  This name may  be the name of any valid  Paradox
  357.               table.   As with the  document-name, you may  include a drive
  358.               specifier  and a  full path  name.  An  extension of  "DB" is
  359.  
  360.  
  361.  
  362.                                                                                         
  363.             PDX2WP                              Page 4
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.               assumed.   Therefore,  do not  include an  extension.   If an
  375.               extension is included, an error message will be displayed.
  376.  
  377.               "Type"  represents  the  type  of  translation  you  wish  to
  378.               perform, and is  always preceded by a  "/".  Valid  types and
  379.               there meaning are:
  380.  
  381.                       T       Create a WordPerfect Table (Version 5.1 only)
  382.  
  383.                       C       Create  parallel  columns  (Version   5.0  or
  384.                               later)
  385.  
  386.                       M       Create  a secondary  merge file  (Version 5.0
  387.                               merge codes ^R and ^E)
  388.  
  389.                       MF      Create  a secondary  merge file  (Version 5.1
  390.                               merge  codes {END  FIELD}  and {END  RECORD},
  391.                               with {FIELD NAMES})
  392.  
  393.               The following are examples  of valid command-line entries for
  394.               the PDX2WP utility:
  395.  
  396.                   PDX2WP CONTACTS.WP CONTACTS /M
  397.                   PDX2WP \ACCOUNT.TBL \PARADOX\FILES\ACCOUNT /T
  398.                   PDX2WP A:PARTS PARTLIST /C
  399.                   PDX2WP ADDRBOOK \SK\ADDRESS\ADDRESS /MF
  400.  
  401.               After typing the appropriate  command-line entry and pressing
  402.               ENTER,  several lines of copyright information are displayed.
  403.               After  the  copyright lines  is  a  line  which displays  the
  404.               progress of the conversion process, showing the record number
  405.               of each Paradox record as it is translated.  Upon completion,
  406.               a message  indicating the total number  of records translated
  407.               is  displayed.  This number  indicates the number  of rows in
  408.               the WordPerfect table or  column structure, or the number  of
  409.               merge records created in a secondary merge file.
  410.  
  411.           Running the PDX2WP Utility From a Paradox PAL Script
  412.  
  413.               By  using  the  PDX2WP  utility  within  a  PAL  script,  the
  414.               translation  of  a  Paradox  table can  be  made  to  execute
  415.               automatically, without user intervention.   PDX2WP can be run
  416.               within  a PAL script using the PAL command "RUN BIG" followed
  417.               by  the  command-line  entry  for  PDX2WP  described  in  the
  418.               previous section.
  419.  
  420.               A  common application  of this  use would  be to  translate a
  421.               Paradox ANSWER table which is created as a result of a query.
  422.               This  allows  for the  translation  of a  selected  subset of
  423.  
  424.  
  425.                                                                                         
  426.             PDX2WP                              Page 5
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.               records from a  Paradox table.  Following is an  excerpt of a
  438.               simple  PAL script performing such a  query. The line numbers
  439.               are  shown  for information  only, and  are  not part  of the
  440.               script
  441.  
  442.                1  query
  443.                2
  444.                3  contacts |Name   |Address  |City     |
  445.                4           |check  |check    |check    |
  446.                5           |       |         |         |
  447.                6           |       |         |         |
  448.                7
  449.                8
  450.                9  contacts |State            |Zip Code |
  451.               10           |check, MA        |check    |
  452.               11           |                 |         |
  453.               12           |                 |         |
  454.               13
  455.               14  endquery
  456.               15
  457.               16  Do_It!
  458.               17
  459.               18  If Istable("Answer") then
  460.               19      run big "pdx2wp contacts.wp answer /mf"
  461.               20  endif
  462.  
  463.               In this example, the first portion  of PAL code, from line  1
  464.               to line 14, is a script which was generated using the Paradox
  465.               QuerySave  command.   The  script queries  the Paradox  table
  466.               "Contacts," requesting the fields Name, Address, City, State,
  467.               and  Zip Code, where State is equal  to "MA."  By editing the
  468.               script with the Paradox  Script/Edit command and adding lines
  469.               15 through 20,  the script  can be made  to perform both  the
  470.               query  and the  PDX2WP  translation of  the resulting  Answer
  471.               file.
  472.  
  473.               The "Do_It!" command on line 16 causes Paradox to perform the
  474.               query  specified on  lines 1  through 14.   If there  are any
  475.               records  which satisfy the criteria in the query command, the
  476.               Answer table will  be created with those selected records and
  477.               will become  the current table.   Otherwise, no  Answer table
  478.               will  be  created and  the current  table  will still  be the
  479.               Contacts table.  Line 18  checks to see if the  current table
  480.               is the Answer table.  If  so, then line 19 is executed, which
  481.               actually runs PDX2WP as if it were entered at the DOS command
  482.               line.   When PDX2WP  completes the translation,  control will
  483.               return  to the PAL script,  and any further  commands will be
  484.               executed.
  485.  
  486.  
  487.  
  488.                                                                                         
  489.             PDX2WP                              Page 6
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.           Running the PDX2WP Utility From Interactive Paradox
  501.  
  502.               There  are two methods of running PDX2WP from the interactive
  503.               Paradox  environment.  It may be run as a "mini-script" using
  504.               the same statement shown on line  20 of the above script,  or
  505.               it can be  attached to  a Paradox "hot-key"  with the  SETKEY
  506.               command.
  507.  
  508.               To  execute PDX2WP as a  mini-script, access the  PAL menu by
  509.               pressing  Alt-F10.   Choose  the MiniScript  option from  the
  510.               menu.  A message  prompting for a command will  be displayed.
  511.               Type in  the command  using the  RUN BIG  command, as  in the
  512.               example  on line 20 of the script  above.  Be sure to substi-
  513.               tute the  appropriate document-name, table-name  and transla-
  514.               tion type in the command, then press Enter to execute PDX2WP.
  515.  
  516.               The  second method  for running  PDX2WP from  the interactive
  517.               Paradox environment is  by assigning the PDX2WP  command to a
  518.               key  combination.  This is  done by using  the Paradox SETKEY
  519.               command in a special PAL script named "Init."
  520.  
  521.               The Init  script resides  in the  default data directory  for
  522.               Paradox, and includes any number of functions to be performed
  523.               automatically when Paradox is first  loaded.  By including  a
  524.               SETKEY command  for PDX2WP  in  the Init  script, the  PDX2WP
  525.               utility may be executed simply by performing the keystroke to
  526.               which the program  was assigned.  The  following line assigns
  527.               the PDX2WP command to the Shift-F5 key combination:
  528.  
  529.                   setkey "F15" run big "pdx2wp " + table() + " " + table()
  530.                   + " /t"
  531.  
  532.               This  example again uses the RUN BIG  command, as well as the
  533.               TABLE()  function,  which returns  the  name  of the  current
  534.               Paradox  table, to  create a  WordPerfect file with  the same
  535.               name as the Paradox table.
  536.  
  537.               Although  this is  a simple  example, it  does not  allow the
  538.               flexibility of choosing which  type of translation to perform
  539.               once  Paradox  is running.   By  using  a combination  of the
  540.               SETKEY command in the Init script and a separate script which
  541.               performs  the translation, the choice can be made at the time
  542.               the  key  combination is  pressed.   Rather  than  having the
  543.               assigned  key  combination  do  the   actual  translation,  a
  544.               separate script  may be played  by the assigned  key combina-
  545.               tion.  The  SETKEY statement  in the Init  script would  then
  546.               look more like the following:
  547.  
  548.                   setkey "F15" play "\\paradox3\\pdx2wp"
  549.  
  550.  
  551.                                                                                         
  552.             PDX2WP                              Page 7
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.               The section of  the line in quotes after the  PLAY command is
  564.               the  directory  and file  name of  the  script to  be played.
  565.               (When specifying  a  path  or  directory  in  a  script,  the
  566.               subdirectory names must be separated by 2 backwards slashes.)
  567.  
  568.               A  complete  sample  PDX2WP  script  is  included  with  this
  569.               package, and may be used as is or as an  example which may be
  570.               expanded upon.  The sample script first verifies that a table
  571.               image is on the Paradox  workspace.  If there is no  image on
  572.               the workspace,  a message is displayed  and processing stops,
  573.               returning to the previous state.  If there is an image on the
  574.               workspace,  a Paradox menu is displayed.  The menu allows the
  575.               selection of the translation  type which PDX2WP will perform.
  576.               Once an option is chosen, the appropriate translation is per-
  577.               formed.   The WordPerfect document is given a file name which
  578.               is the same  as the Paradox table  name, and an  extension of
  579.               .COL,  .MRG,  or  .TBL   for  a  parallel  columns  document,
  580.               secondary merge document, or WordPerfect table, respectively.
  581.  
  582.               By copying  the sample script  to your Paradox  directory and
  583.               adding the SETKEY  statement to the existing Init  script (or
  584.               creating an Init script which includes the SETKEY statement),
  585.               the PDX2WP translation utility will be continuously available
  586.               from within the interactive Paradox environment.
  587.  
  588.           Using PDX2WP with Sidekick 2.0
  589.  
  590.               Beginning with  Sidekick Version  2.0 from  Borland, Sidekick
  591.               Address  Book files are stored  in Paradox tables.   As such,
  592.               they may be accessed and converted by PDX2WP the  same as any
  593.               other Paradox table.  By default, Sidekick stores records for
  594.               the address books in the Paradox table "ADDRESS."  This table
  595.               is  in the  ADDRESS subdirectory  of the  Sidekick directory.
  596.               For example, if Sidekick was installed in C:\SK, the  address
  597.               books would be in the C:\SK\ADDRESS directory.
  598.  
  599.               The  list  of  fields and  their  sizes  (in characters)  for
  600.               Address Book files is as follows:
  601.  
  602.                   FIELD NAME      SIZE
  603.  
  604.                   Last Name             20
  605.                   First Name        20
  606.                   Middle Name       20
  607.                   Code              10
  608.                   Title                 35
  609.                   Company           50
  610.                   Street            50
  611.                   City                  20
  612.  
  613.  
  614.                                                                                         
  615.             PDX2WP                              Page 8
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.                   State                 15
  627.                   Zip               10
  628.                   Home Phone        30
  629.                   Business Phone        30
  630.                   Alternate Phone       30
  631.                   Notes            255
  632.  
  633.  
  634.      How to Use the WP2PDX Utility
  635.  
  636.           WP2PDX may also be run from the DOS command line or from Paradox,
  637.           either within the  interactive environment or from a  PAL script.
  638.           While the operation of WP2PDX  from the DOS command line is  very
  639.           similar to that of PDX2WP, the use of WP2PDX from  within Paradox
  640.           is somewhat different.  Again, as with PDX2WP, there generally is
  641.           not enough memory available to run WP2PDX from WordPerfect's  "Go
  642.           To Dos" or "Dos Command" options.
  643.  
  644.  
  645.           Running the WP2PDX Utility From the DOS Command Line
  646.  
  647.               When  running  WP2PDX from  the  DOS command  line,  you must
  648.               specify the name of  the WordPerfect secondary merge document
  649.               you  wish to convert  and the name  of the  Paradox table you
  650.               wish  to create.   Since there  is only  one type  of Paradox
  651.               table,  there  are no  additional  parameters  to the  WP2PDX
  652.               utility.
  653.  
  654.               The syntax for WP2PDX is:
  655.  
  656.                   WP2PDX document-name table-name
  657.  
  658.               "Document-name" is  the name of the  WordPerfect document you
  659.               wish to convert.   You may include a drive  specifier, a full
  660.               path name, and a file  name.  The file name follows  standard
  661.               DOS  naming conventions: a name  of up to  8 characters, fol-
  662.               lowed by  an optional  period and  an  extension of  up to  3
  663.               characters.    The  following  are  all  valid  names  for  a
  664.               WordPerfect document:
  665.  
  666.                   MY-FILE
  667.                   PDX-TABL.DOC
  668.                   B:NAMES
  669.                   C:\WP\DOCUMENT\MAILLIST.WP
  670.  
  671.               "Table-name" is the name  of the Paradox table which  will be
  672.               created.  This name may be  any valid Paradox table name.  As
  673.               with the document-name, you may include a drive specifier and
  674.               a  full  path  name.    An  extension  of  "DB"  is  assumed.
  675.  
  676.  
  677.                                                                                         
  678.             PDX2WP                              Page 9
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.               Therefore, do not include  an extension.  If an  extension is
  690.               included, an error message will be displayed.
  691.  
  692.               The following are examples  of valid command-line entries for
  693.               the WP2PDX utility:
  694.  
  695.                   WP2PDX CONTACTS.WP CONTACTS
  696.                   WP2PDX \ACCOUNTS.MRG \PARADOX\FILES\ACCOUNTS
  697.                   WP2PDX A:MERGE.NMS NAMES
  698.                   WP2PDX PARTLIST C:\PARADOX\INVENTORY\PARTS 
  699.  
  700.               After typing the appropriate  command-line entry and pressing
  701.               ENTER, several lines of copyright information are  displayed.
  702.               WP2PDX  then performs  the first  of three  steps: veryifying
  703.               that the specified document  is a WordPerfect secondary merge
  704.               document.  This is  done by scanning the document  for either
  705.               "end of  field" or "end of  record" merge codes.   If no such
  706.               codes are found, an error message is displayed and the WP2PDX
  707.               program terminates.
  708.  
  709.               If the  appropriate merge  codes are found  in the  specified
  710.               merge document, the  next step in  the conversion process  is
  711.               performed.    In  this  step, the  document  is  analyzed  to
  712.               determine  the structure  of  the individual  records in  the
  713.               merge document.  The structure specifies how many fields  are
  714.               in each  record, how long  each field is  (up to the  Paradox
  715.               maximum  of 255  characters), and  what type  each field  is.
  716.               While this analysis is being performed, the following message
  717.               is displayed:
  718.  
  719.                   Analyzing WordPerfect document. Please wait
  720.  
  721.               followed by a rotating dash or slash character.  The rotating
  722.               character  is displayed  as  a visual  confirmation that  the
  723.               program is actually working.
  724.  
  725.               After the  analysis is  complete, the actual  conversion step
  726.               begins.   During the conversion,  a line  is displayed  which
  727.               shows  the progress  of  the conversion,  showing the  record
  728.               number  of each Paradox record  as it is  being created. Upon
  729.               completion, a message indicating  the total number of records
  730.               translated is displayed.
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.                                                                                         
  741.             PDX2WP                              Page 10
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.      Limitations of PDX2WP
  753.  
  754.           This  version of PDX2WP is  a shareware product,  and has several
  755.           limitations.   Though  it  is a  totally  functional  and  useful
  756.           program, there are several limitations and default settings which
  757.           can  not be  overridden.   Most  of these  will  be addressed  in
  758.           forthcoming versions of the product.
  759.  
  760.               --  Paradox  date  fields  are  translated  to  the  standard
  761.                   MM/DD/YY format.  Future versions will provide the choice
  762.                   between this format and several others.
  763.  
  764.               --  When translating  to a WordPerfect  table, number  fields
  765.                   are decimal aligned  in the cell, with  2 decimal places.
  766.                   Future  versions will allow selection of numeric formats,
  767.                   including commas, decimal places, and currency notations.
  768.  
  769.               --  All fields in the Paradox table are translated and placed
  770.                   into separate columns or fields, and in the same order as
  771.                   they  appear  in the  Paradox  table  structure.   Future
  772.                   versions will allow the selection of specific fields in a
  773.                   user-defined order.   It will also  allow the joining  of
  774.                   two or more fields together,  separated by a carriage re-
  775.                   turn, a space, or other special characters or codes.
  776.  
  777.               --  When  translating to  a  WordPerfect  table, the  Paradox
  778.                   field  names  are  entered  into the  first  row  of  the
  779.                   WordPerfect  table  to serve  as  headers  for the  table
  780.                   structure.  This will be an option in future versions.
  781.  
  782.               --  When translating  to a parallel columns  format, only the
  783.                   first  24 fields  from the  Paradox table  are converted.
  784.                   This  is  a  limitation  in the  number  of  columns that
  785.                   WordPerfect allows, rather than a limitation of PDX2WP.
  786.  
  787.               --  When translating  to a WordPerfect table,  only the first
  788.                   32 fields  and the  first 32,765 records  are translated.
  789.                   Again,  this is a limitation in the number of columns and
  790.                   rows that WordPerfect allows, not a limitation of PDX2WP.
  791.  
  792.               --  The limit to the  number of fields when translating  to a
  793.                   WordPerfect secondary merge document is 255, which is the
  794.                   maximum fields allowed in a Paradox table. 
  795.  
  796.               --  Since PDX2WP has no knowledge of printer definitions used
  797.                   in a particular installation  of WordPerfect, there is no
  798.                   printer  information  included  in the  created  document
  799.                   files.  This restricts these documents from being printed
  800.                   from the List Files mode of WordPerfect.  They must first
  801.  
  802.  
  803.                                                                                         
  804.             PDX2WP                              Page 11
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.                   be retrieved  into WordPerfect, so they  may be formatted
  816.                   for the default printer then printed.
  817.  
  818.               --  When translating  to either  parallel columns or  a Word-
  819.                   Perfect table,  the document  is created with  a portrait
  820.                   page  layout with 1" left and right margins.  The columns
  821.                   are all created the  same size, based on the  page layout
  822.                   and margin size.   A future version will allow  selection
  823.                   of portrait or landscape  mode, as well as user-definable
  824.                   left, right, top, and bottom margins.
  825.  
  826.               --  Password  protected  tables  are not  supported  by  this
  827.                   version  of  PDX2WP.    A  future  version  will  provide
  828.                   facilities for accessing protected tables.
  829.  
  830.               --  Access to Paradox tables  on a local area network  is not
  831.                   supported  by this  version  of PDX2WP.   Again,  network
  832.                   support will be available in a future version of PDX2WP.
  833.  
  834.  
  835.      Suggestions and Hints
  836.  
  837.           Listed below are  some helpful ideas and  suggestions for getting
  838.           the most from PDX2WP.
  839.  
  840.               --  If you  are already using Paradox, you can translate only
  841.                   the  fields  you  need  by  using  the   query-by-example
  842.                   capabilities of Paradox.   When querying, use the  F6 key
  843.                   to  check only those fields  which you wish  to be trans-
  844.                   lated into WordPerfect.   The resulting Answer table will
  845.                   only  include the fields that  have been checked with the
  846.                   F6 key.  Then use PDX2WP to translate the Answer table.
  847.  
  848.               --  When creating a WordPerfect table, all columns are set to
  849.                   equal widths.   Once the  document has been  created, the
  850.                   column widths may be easily changed using table edit mode
  851.                   (Alt-F7).  All  aspects of  the table may  be changed  in
  852.                   this manner.
  853.  
  854.               --  Similarly,  when creating  parallel columns,  all columns
  855.                   are set to equal  widths.  Column widths and  margins may
  856.                   be  set using  the  Column  Definition command  (Alt-F7).
  857.                   This is a bit more cumbersome than changing column widths
  858.                   in a table.
  859.  
  860.               --  It  may be useful to  change the orientation  of the page
  861.                   from  portrait  mode to  landscape  mode  by selecting  a
  862.                   different paper size using the Page Format command.  This
  863.  
  864.  
  865.  
  866.                                                                                         
  867.             PDX2WP                              Page 12
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.                   will  allow the use of  wider columns in  both tables and
  879.                   parallel columns.
  880.  
  881.               --  When creating  a WordPerfect  table, be aware  that there
  882.                   are considerably  more codes  required to create  a table
  883.                   than to create parallel columns.  Your final document may
  884.                   be as much  as 7 to 10  times larger than the  equivalent
  885.                   Paradox table translated to parallel columns.
  886.  
  887.               --  When creating  a WordPerfect secondary merge document, it
  888.                   may be preferable to  use the /MF option, which  will not
  889.                   only use the {END FIELD} and {END RECORD} codes available
  890.                   in  WordPerfect Version  5.1,  but will  also create  the
  891.                   {FIELD  NAMES}  section at  the  beginning  of the  merge
  892.                   document.    This allows  for  much  easier selection  of
  893.                   fields  in a  primary  merge  document.   You  need  only
  894.                   remember the field names, not the field numbers.
  895.  
  896.               --  When converting a Paradox table with more than 100 fields
  897.                   to a  WordPerfect secondary  merge document with  the /MF
  898.                   option, all field names will be inserted into the list of
  899.                   field  names in  the document. However,  WordPerfect only
  900.                   keeps track of the  first 100 field names in  a secondary
  901.                   merge  document. Therefore,  in  order  to  place  fields
  902.                   beyond  the  100th field  into  a  primary document,  the
  903.                   fields must  be referenced by  the field number,  not the
  904.                   field name.
  905.  
  906.  
  907.      Final Comments
  908.  
  909.           As  mentioned earlier,  this  version of  PDX2WP  is a  shareware
  910.           product.  It is not  in the public domain, nor is  it "Freeware."
  911.           As such,  you are  expected to  register your  copy of  PDX2WP by
  912.           filling out  the Invoice/Registration  Form which appears  at the
  913.           end of this document.
  914.  
  915.           As  a registered  user, you  will  be made  aware  of all  future
  916.           versions  of PDX2WP,  commercial as  well as  shareware.   If you
  917.           decide  to  upgrade to  the  commercial version  when  it becomes
  918.           available,  your registration  fee  will be  credited toward  the
  919.           price of  the commercial version.  You will also be made aware of
  920.           other utilities and programs from S. L. S. Systems as they become
  921.           available.
  922.  
  923.           Your comments and suggestions regarding PDX2WP  are welcome.  You
  924.           have the opportunity  to impact  the future of  this program,  as
  925.           well as  provide  input  for  the  development  of  other  useful
  926.           utilities and programs.
  927.  
  928.  
  929.                                                                                         
  930.             PDX2WP                              Page 13
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.           S.  L. S.  Systems  may be  reached  through Electronic  Mail  on
  942.           Compuserve (account number 76104,2074) or by mail at  the address
  943.           on the Invoice/Registration Form.
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.                                                                                         
  993.             PDX2WP                              Page 14
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.                               Invoice/Registration Form
  1005.  
  1006.  
  1007.                                                 Date: ____________ 
  1008.  
  1009.  
  1010.                                                 S. L. S. System
  1011.                                                 13 Shirley Avenue 
  1012.                                                 Kingston, MA 02364
  1013.  
  1014.  
  1015.         SOLD TO:
  1016.  
  1017.         Name: ____________________________________
  1018.  
  1019.         Company: _________________________________
  1020.  
  1021.         Address: _________________________________
  1022.  
  1023.                                _________________________________
  1024.  
  1025.         Phone: _________________
  1026.  
  1027.         FAX: ___________________
  1028.  
  1029.  
  1030.         What size disks do you use?  ___ 5-1/4"   ___ 3-1/2"
  1031.  
  1032.         Where did you hear about PDX2WP? __________________________________
  1033.  
  1034.         ┌───────────────────────────────────────────────┬─────────────────┐
  1035.         │            Description                        │     Price       │
  1036.         ├───────────────────────────────────────────────┼─────────────────┤
  1037.         │ License for PDX2WP v. 1.22                    │  $     30.00    │
  1038.         │                                               │                 │
  1039.         │ ____ additional licenses @ $30.00             │     _________   │
  1040.         │                                               │                 │
  1041.         │                                               │                 │
  1042.         └───────────────────────────────────────────────┼─────────────────┤
  1043.                                                         │                 │
  1044.                                Total Amount Enclosed    │  $  _________   │
  1045.                                                         └─────────────────┘
  1046.                                                         
  1047.  
  1048.         Please make checks payable to:                  
  1049.                   S. L. S. Systems                   
  1050.                   13 Shirley Avenue                  
  1051.                   Kingston, MA 02364
  1052.